<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-type" content="text/html;charset=UTF-8" />
<meta http-equiv="X-UA-Compatible" content="chrome=1"/>
<link rel="icon" type="image/png" href="images/logo.png"/>

<!--{if svg_edit_release}>
  <link rel="stylesheet" href="css/method-draw.compiled.css" type="text/css"/>
<!{else}-->
  <link rel="stylesheet" href="lib/jgraduate/css/jPicker.css" type="text/css"/>
  <link rel="stylesheet" href="lib/jgraduate/css/jgraduate.css" type="text/css"/>
  <link rel="stylesheet" href="css/method-draw.css" type="text/css"/>
  <link rel="stylesheet" href="css/fonts.css" type="text/css"/>
	<link rel="stylesheet" href="css/notosanskr.css" type="text/css"/>
	<link href="https://fonts.googleapis.com/css?family=Black+And+White+Picture|Black+Han+Sans|Cute+Font|Do+Hyeon|Dokdo|East+Sea+Dokdo|Gaegu:300,400,700|Gamja+Flower|Gothic+A1:100,200,300,400,500,600,700,800,900|Gugi|Hi+Melody|Jua|Kirang+Haerang|Nanum+Brush+Script|Nanum+Gothic+Coding:400,700|Nanum+Gothic:400,700,800|Nanum+Myeongjo:400,700,800|Nanum+Pen+Script|Poor+Story|Song+Myung|Stylish|Sunflower:300,500,700|Yeon+Sung" rel="stylesheet">
	<link rel="stylesheet" href="css/font-awesome.min.css" type="text/css"/>
	<link rel="stylesheet" href="lib/colorpicker-master/themes.css" type="text/css"/>
	<link rel="stylesheet" href="css/custom-style.css" type="text/css"/>
<!--{endif}-->
  <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no"/>
  <meta name="apple-mobile-web-app-capable" content="yes"/>


  <script type="text/javascript" src="lib/jquery.js"></script>


<!--{if svg_edit_release}>
  <script type="text/javascript" src="method-draw.compiled.js"></script>
<!{else}-->
  <script type="text/javascript" src="lib/pathseg.js"></script>
  <script type="text/javascript" src="lib/touch.js"></script>
  <script type="text/javascript" src="lib/js-hotkeys/jquery.hotkeys.min.js"></script>
  <script type="text/javascript" src="icons/jquery.svgicons.js"></script>
  <script type="text/javascript" src="lib/jgraduate/jquery.jgraduate.js"></script>
  <script type="text/javascript" src="lib/contextmenu/jquery.contextMenu.js"></script>
  <script type="text/javascript" src="lib/jquery-ui/jquery-ui-1.8.17.custom.min.js"></script>
  <script type="text/javascript" src="src/browser.js"></script>
  <script type="text/javascript" src="src/svgtransformlist.js"></script>
  <script type="text/javascript" src="src/math.js"></script>
  <script type="text/javascript" src="src/units.js"></script>
  <script type="text/javascript" src="src/svgutils.js"></script>
  <script type="text/javascript" src="src/sanitize.js"></script>
  <script type="text/javascript" src="src/history.js"></script>
  <script type="text/javascript" src="src/select.js"></script>
  <script type="text/javascript" src="src/draw.js"></script>
  <script type="text/javascript" src="src/path.js"></script>
  <script type="text/javascript" src="src/dialog.js"></script>
  <script type="text/javascript" src="src/svgcanvas.js"></script>
  <script type="text/javascript" src="src/method-draw.js"></script>
  <script type="text/javascript" src="lib/jquery-draginput.js"></script>
  <script type="text/javascript" src="lib/contextmenu.js"></script>
  <script type="text/javascript" src="lib/jgraduate/jpicker.min.js"></script>
  <script type="text/javascript" src="lib/mousewheel.js"></script>
  <script type="text/javascript" src="extensions/ext-eyedropper.js"></script>
  <script type="text/javascript" src="extensions/ext-shapes.js"></script>
  <script type="text/javascript" src="extensions/ext-grid.js"></script>
  <script type="text/javascript" src="lib/requestanimationframe.js"></script>
  <script type="text/javascript" src="lib/taphold.js"></script>
  <script type="text/javascript" src="lib/filesaver.js"></script>
	<script type="text/javascript" src="lib/sweetalert-master/sweetalert.min.js"></script>
	<script type="text/javascript" src="lib/colorpicker-master/colorpicker.min.js"></script>
	<script type="text/javascript" src="src/custom-script.js"></script>
	<script>
		var apiUrl = 'http://easymock.ithanhua.cn/mock/5c6b7ab85c5e226593eba86f/svg-editor';//api地址
		var templateApi = apiUrl+'/template', //获取模板信息
				templateSearchApi = apiUrl+'/template/search', //搜索模板
				templateListApi = apiUrl+'/template/list'; //获取模板列表
	</script>
<!--{endif}-->
<title>명함메이커</title>
</head>

<body>
<div id="svg_editor">

<div id="rulers">
  <div id="ruler_corner"></div>
  <div id="ruler_x">
    <div id="ruler_x_cursor"></div>
    <div>
      <canvas height="15"></canvas>
    </div>
  </div>
  <div id="ruler_y">
    <div id="ruler_y_cursor"></div>
    <div>
      <canvas width="15"></canvas>
    </div>
  </div>
</div>

<div id="workarea" >
<div id="svgcanvas" style="position:relative" >

</div>
</div>
<div id="zoombar">
	<span id="zoom_one">1:1</span>
	<span id="zoom_auto"><i class="fa fa-arrows-alt"></i></span>
	<span id="zoom_up"><i class="fa fa-plus-circle"></i></span>
	<span id="zoom_posint">100%</span>
	<span id="zoom_down"><i class="fa fa-minus-circle"></i></span>
</div>

<div class="custom_menu_bar">
	<div class="brand_logo">
		<a href="#"><img src="images/logo.png"></a>
	</div>
	<div class="history_bar">
		<ul>
			<li id="reload_svg">
				<i></i>
				<span>초기화</span>
			</li>
			<li id="tool_undo" class="disabled">
				<i></i>
				<span>실행취소</span>
			</li>
			<li id="tool_redo" class="disabled">
				<i></i>
				<span>복원하기</span>
			</li>
		</ul>
	</div>
	<div class="tool_bar">
		<div id="color_pick">
			<span id="color_pick_value"></span>
			<ul id="color_pick_list">
				<li id="color_pick_custom"><div class="cp cp-default" id="color_picker_master"></div></li>
				<li id="color_pick_value_two"></li>
				<div class="clearfix"></div>
				<li style="background: #000000;"></li>
				<li style="background: #666666;"></li>
				<li style="background: #a8a8a8;"></li>
				<li style="background: #d9d9d9;"></li>
				<li style="background: #ffffff;"></li>
				<li style="background: #ff5b5c;"></li>
				<li style="background: #ffbd4a;"></li>
				<li style="background: #fef951;"></li>
				<li style="background: #99e265;"></li>
				<li style="background: #35b72a;"></li>
				<li style="background: #44d9e6;"></li>
				<li style="background: #2eb3ff;"></li>
				<li style="background: #5271ff;"></li>
				<li style="background: #b760e6;"></li>
				<li style="background: #ff63b1;"></li>
			</ul>
		</div>
		<div class="font_pick">
			<div id="font_family_value"><span>Sans KR Regule</span><i class="up"></i><i class="down"></i></div>
			<div id="font_family_pick">
				<ul>
					<li style="font-family: NotoSansKR-Thin;" data-font-family="NotoSansKR-Thin" data-font-weight="100">NotoSansKR-Thin</li>
					<li style="font-family: NotoSansKR-Light;" data-font-family="NotoSansKR-Light" data-font-weight="300">NotoSansKR-Light</li>
					<li style="font-family: NotoSansKR-Regular;" data-font-family="NotoSansKR-Regular" data-font-weight="400">NotoSansKR-Regular</li>
					<li style="font-family: NotoSansKR-Medium;" data-font-family="NotoSansKR-Medium" data-font-weight="500">NotoSansKR-Medium</li>
					<li style="font-family: NotoSansKR-Bold;" data-font-family="NotoSansKR-Bold" data-font-weight="700">NotoSansKR-Bold</li>
					<li style="font-family: NotoSansKR-Black;" data-font-family="NotoSansKR-Black" data-font-weight="900">NotoSansKR-Black</li>
					<li style="font-family: Gothic A1;" data-font-family="Gothic A1" data-font-weight="100,200,300,400,500,600,700,800,900">Gothic A1</li>
					<li style="font-family: Nanum Gothic;" data-font-family="Nanum Gothic" data-font-weight="400,700,800">Nanum Gothic</li>
					<li style="font-family: Nanum Myeongjo;" data-font-family="Nanum Myeongjo" data-font-weight="400,700,800">Nanum Myeongjo</li>
					<li style="font-family: Nanum Pen Script;" data-font-family="Nanum Pen Script" data-font-weight="400">Nanum Pen Script</li>
					<li style="font-family: Nanum Brush Script;" data-font-family="Nanum Brush Script" data-font-weight="400">Nanum Brush Script</li>
					<li style="font-family: Do Hyeon;" data-font-family="Do Hyeon" data-font-weight="400">Do Hyeon</li>
					<li style="font-family: Black Han Sans;" data-font-family="Black Han Sans" data-font-weight="400">Black Han Sans</li>
					<li style="font-family: Gugi;" data-font-family="Gugi" data-font-weight="400">Gugi</li>
					<li style="font-family: Jua;" data-font-family="Jua" data-font-weight="400">Jua</li>
					<li style="font-family: Sunflower;" data-font-family="Sunflower" data-font-weight="400">Sunflower</li>
					<li style="font-family: Song Myung;" data-font-family="Song Myung" data-font-weight="400">Song Myung</li>
					<li style="font-family: Poor Story;" data-font-family="Poor Story" data-font-weight="400">Poor Story</li>
					<li style="font-family: East Sea Dokdo;" data-font-family="East Sea Dokdo" data-font-weight="400">East Sea Dokdo</li>
					<li style="font-family: Gaegu;" data-font-family="Gaegu" data-font-weight="400">Gaegu</li>
					<li style="font-family: Stylish;" data-font-family="Stylish" data-font-weight="400">Stylish</li>
					<li style="font-family: Black And White Picture;" data-font-family="Black And White Picture" data-font-weight="400">Black And White Picture</li>
					<li style="font-family: Hi Melody;" data-font-family="Hi Melody" data-font-weight="400">Hi Melody</li>
					<li style="font-family: Gamja Flower;" data-font-family="Gamja Flower" data-font-weight="400">Gamja Flower</li>
					<li style="font-family: Cute Font;" data-font-family="Cute Font" data-font-weight="400">Cute Font</li>
					<li style="font-family: Yeon Sung;" data-font-family="Yeon Sung" data-font-weight="400">Yeon Sung</li>
					<li style="font-family: Dokdo;" data-font-family="Dokdo" data-font-weight="400">Dokdo</li>
					<li style="font-family: Kirang Haerang;" data-font-family="Kirang Haerang" data-font-weight="400">Kirang Haerang</li>
				</ul>
			</div>
		</div>
		<div class="font_size">
			<input id="font_size" value="14"><i class="up"></i><i class="down"></i>
		</div>
		<div class="font_style">
			<div id="font_b"></div>
			<div id="font_i"></div>
		</div>
		<div class="font_algin">
			<div id="font_algin_left"></div>
			<div id="font_algin_center"></div>
			<div id="font_algin_right"></div>
		</div>
		<div class="font_step">
			<div id="font_line_height"></div>
			<div id="font_line_weight"></div>
		</div>
	</div>
	<div class="svg_print">
		<a href="#"><i class="fa fa-print"></i>인쇠하기</a>
	</div>
</div>



<div id="tools_top" class="tools_panel" style="right: -200px; z-index: 9999;">

  <div id="canvas_panel" class="context_panel">
    
    <h4 class="clearfix">Canvas</h4>
    <label data-title="Change canvas width">
      <input size="3" id="canvas_width" type="text" pattern="[0-9]*" />
      <span class="icon_label">Width</span>
    </label>
    <label data-title="Change canvas height">
      <input id="canvas_height" size="3" type="text" pattern="[0-9]*" />
      <span class="icon_label">Height</span>
    </label>
        
    <label data-title="Change canvas color" class="draginput">
      <span>Color</span>
      <div id="color_canvas_tools">
        <div class="color_tool active" id="tool_canvas">
          <div class="color_block">
            <div id="canvas_bg"></div>
            <div id="canvas_color"></div>
          </div>
        </div>
      </div>
    </label>

    <div class="draginput">
      <span>Sizes</span>
      <select id="resolution">
        <option id="selectedPredefined" selected="selected">Custom</option>
        <option>640x480</option>
        <option>800x600</option>
        <option>1024x768</option>
        <option>1280x960</option>
        <option>1600x1200</option>
        <option id="fitToContent" value="content">Fit to Content</option>
      </select>
      <div class="caret"></div>
      <label id="resolution_label">Custom</label>
    </div>

  </div>
  
  <div id="rect_panel" class="context_panel">
    <h4 class="clearfix">Rectangle</h4>
    <label>
      <input id="rect_x" class="attr_changer" data-title="Change X coordinate" size="3" data-attr="x" pattern="[0-9]*" />
      <span>X</span> 
    </label>
    <label>
      <input id="rect_y" class="attr_changer" data-title="Change Y coordinate" size="3" data-attr="y" pattern="[0-9]*" />
      <span>Y</span> 
    </label>
    <label id="rect_width_tool attr_changer" data-title="Change rectangle width">
      <input id="rect_width" class="attr_changer" size="3" data-attr="width" type="text" pattern="[0-9]*" />
      <span class="icon_label">Width</span>
    </label>
    <label id="rect_height_tool" data-title="Change rectangle height">
      <input id="rect_height" class="attr_changer" size="3" data-attr="height" type="text" pattern="[0-9]*" />
      <span class="icon_label">Height</span>
    </label>
  </div>
  
  <div id="path_panel" class="context_panel clearfix">
    <h4 class="clearfix">Path</h4>
    <label>
      <input id="path_x" class="attr_changer" data-title="Change ellipse's cx coordinate" size="3" data-attr="x" pattern="[0-9]*" />
      <span>X</span>
    </label>
    <label>
      <input id="path_y" class="attr_changer" data-title="Change ellipse's cy coordinate" size="3" data-attr="y" pattern="[0-9]*" />
      <span>Y</span>
    </label>
  </div>

  <div id="image_panel" class="context_panel clearfix">
  <h4>Image</h4>
    <label>
      <input id="image_x" class="attr_changer" data-title="Change X coordinate" size="3" data-attr="x"  pattern="[0-9]*"/>
      <span>X</span> 
    </label>
    <label>
      <input id="image_y" class="attr_changer" data-title="Change Y coordinate" size="3" data-attr="y"  pattern="[0-9]*"/>
      <span>Y</span> 
    </label>
    <label>
      <input id="image_width" class="attr_changer" data-title="Change image width" size="3" data-attr="width" pattern="[0-9]*" />
      <span class="icon_label">Width</span>
    </label>
    <label>
      <input id="image_height" class="attr_changer" data-title="Change image height" size="3" data-attr="height" pattern="[0-9]*" />
      <span class="icon_label">Height</span>
    </label>
  </div>
  
  <div id="circle_panel" class="context_panel">
    <h4>Circle</h4>
    <label id="tool_circle_cx">
      <span>Center X</span>
      <input id="circle_cx" class="attr_changer" title="Change circle's cx coordinate" size="3" data-attr="cx"/>
    </label>
    <label id="tool_circle_cy">
      <span>Center Y</span>
      <input id="circle_cy" class="attr_changer" title="Change circle's cy coordinate" size="3" data-attr="cy"/>
    </label>
    <label id="tool_circle_r">
      <span>Radius</span>
      <input id="circle_r" class="attr_changer" title="Change circle's radius" size="3" data-attr="r"/>
    </label>
  </div>

  <div id="ellipse_panel" class="context_panel clearfix">
    <h4>Ellipse</h4>
    <label id="tool_ellipse_cx">
      <input id="ellipse_cx" class="attr_changer" data-title="Change ellipse's cx coordinate" size="3" data-attr="cx" pattern="[0-9]*" />
      <span>X</span>
    </label>
    <label id="tool_ellipse_cy">
      <input id="ellipse_cy" class="attr_changer" data-title="Change ellipse's cy coordinate" size="3" data-attr="cy" pattern="[0-9]*" />
      <span>Y</span>
    </label>
    <label id="tool_ellipse_rx">
      <input id="ellipse_rx" class="attr_changer" data-title="Change ellipse's x radius" size="3" data-attr="rx" pattern="[0-9]*" />
      <span>Radius X</span>
    </label>
    <label id="tool_ellipse_ry">
      <input id="ellipse_ry" class="attr_changer" data-title="Change ellipse's y radius" size="3" data-attr="ry" pattern="[0-9]*" />
      <span>Radius Y</span>
    </label>
  </div>

  <div id="line_panel" class="context_panel clearfix">
    <h4>Line</h4>
    <label id="tool_line_x1">
      <input id="line_x1" class="attr_changer" data-title="Change line's starting x coordinate" size="3" data-attr="x1" pattern="[0-9]*" />
      <span>Start X</span>
    </label>
    <label id="tool_line_y1">
      <input id="line_y1" class="attr_changer" data-title="Change line's starting y coordinate" size="3" data-attr="y1" pattern="[0-9]*" />
      <span>Start Y</span>
    </label>
    <label id="tool_line_x2">
      <input id="line_x2" class="attr_changer" data-title="Change line's ending x coordinate" size="3" data-attr="x2"   pattern="[0-9]*" />
      <span>End X</span>
    </label>
    <label id="tool_line_y2">
      <input id="line_y2" class="attr_changer" data-title="Change line's ending y coordinate" size="3" data-attr="y2"   pattern="[0-9]*" />
      <span>End Y</span>
    </label>
  </div>

  <div id="text_panel" class="context_panel">
    <h4>Text</h4>
    <label>
      <input id="text_x" class="attr_changer" data-title="Change text x coordinate" size="3" data-attr="x" pattern="[0-9]*" />
      <span>X</span>
    </label>
    <label>
      <input id="text_y" class="attr_changer" data-title="Change text y coordinate" size="3" data-attr="y" pattern="[0-9]*" />
      <span>Y</span>
    </label>
    
    <div class="toolset draginput select twocol" id="tool_font_family">
        <!-- Font family -->
      <span>Font</span>
      <div id="preview_font" style="font-family: Helvetica, Arial, sans-serif;">Helvetica</div>
      <div class="caret"></div>
      <input id="font_family" data-title="Change Font Family" size="12" type="hidden" />
      <select id="font_family_dropdown">
          <option value="Arvo, sans-serif">Arvo</option>
          <option value="'Courier New', Courier, monospace">Courier</option>
          <option value="Euphoria, sans-serif">Euphoria</option>
          <option value="Georgia, Times, 'Times New Roman', serif">Georgia</option>
          <option value="Helvetica, Arial, sans-serif" selected="selected">Helvetica</option>
          <option value="Junction, sans-serif">Junction</option>
          <option value="'League Gothic', sans-serif">League Gothic</option>
          <option value="Oswald, sans-serif">Oswald</option>
          <option value="'Palatino Linotype', 'Book Antiqua', Palatino, serif">Palatino</option>
          <option value="'Trebuchet MS', Gadget, sans-serif">Trebuchet</option>
          <option value="'Shadows Into Light', serif">Shadows Into Light</option>
          <option value="'Simonetta', serif">Simonetta</option>
          <option value="'Times New Roman', Times, serif">Times</option>
      </select>
      <div class="tool_button" id="tool_bold" data-title="Bold Text [B]">B</div>
      <div class="tool_button" id="tool_italic" data-title="Italic Text [I]">i</div>
    </div>

    <label id="tool_font_size" data-title="Change Font Size">
      <input id="font_size" size="3" value="0" />
      <span id="font_sizeLabel" class="icon_label">Font Size</span>
    </label>
    <!-- Not visible, but still used -->
    <input id="text" type="text" size="35"/>
  </div>

  <!-- formerly gsvg_panel -->
  <div id="container_panel" class="context_panel clearfix">
  </div>
  
  <div id="use_panel" class="context_panel clearfix">
    <div class="tool_button clearfix" id="tool_unlink_use" data-title="Break link to reference element (make unique)">Break link reference</div>
  </div>
  
  <div id="g_panel" class="context_panel clearfix">
    <h4>Group</h4>
    <label>
      <input id="g_x" class="attr_changer" data-title="Change groups's x coordinate" size="3" data-attr="x" pattern="[0-9]*" />
      <span>X</span>
    </label>
    <label>
      <input id="g_y" class="attr_changer" data-title="Change groups's y coordinate" size="3" data-attr="y" pattern="[0-9]*" />
      <span>Y</span>
    </label>
  </div>
  
  <div id="path_node_panel" class="context_panel clearfix">
    <h4>Edit Path</h4>

    <label id="tool_node_x">
      <input id="path_node_x" class="attr_changer" data-title="Change node's x coordinate" size="3" data-attr="x" />
      <span>X</span>
    </label>
    <label id="tool_node_y">
      <input id="path_node_y" class="attr_changer" data-title="Change node's y coordinate" size="3" data-attr="y" />
      <span>Y</span>
    </label>
    
    <div id="segment_type" class="draginput label">
      <span>Segment Type</span>
      <select id="seg_type" data-title="Change Segment type">
        <option id="straight_segments" selected="selected" value="4">Straight</option>
        <option id="curve_segments" value="6">Curve</option>
      </select>
      <div class="caret"></div>
      <label id="seg_type_label">Straight</label>
    </div>
    
    <!--
    <label class="draginput checkbox" data-title="Link Control Points">
      <span>Linked Control Points</span>
      <div class="push_bottom"><input type="checkbox" id="tool_node_link" checked="checked" /></div>
    </label>
  -->
    
    <div class="clearfix"></div>
    <div class="tool_button" id="tool_node_clone" title="Adds a node">Add Node</div>
    <div class="tool_button" id="tool_node_delete" title="Delete Node">Delete Node</div>
    <div class="tool_button" id="tool_openclose_path" title="Open/close sub-path">Open Path</div>
    <!--<div class="tool_button" id="tool_add_subpath" title="Add sub-path"></div>-->
  </div>
  
  <!-- Buttons when a single element is selected -->
  <div id="selected_panel" class="context_panel">

    <label id="tool_angle" data-title="Change rotation angle" class="draginput">
      <input id="angle" class="attr_changer" size="2" value="0" data-attr="transform" data-min="-180" data-max="180" type="text"/>
      <span class="icon_label">Rotation</span>
      <div id="tool_angle_indicator">
        <div id="tool_angle_indicator_cursor"></div>
      </div>
    </label>
    
      <label class="toolset" id="tool_opacity" data-title="Change selected item opacity">
        <input id="group_opacity" class="attr_changer" data-attr="opacity" data-multiplier="0.01" size="3" value="100" step="5" min="0" max="100" />
        <span id="group_opacityLabel" class="icon_label">Opacity</span>
      </label>
    
    <div class="toolset" id="tool_blur" data-title="Change gaussian blur value">
      <label>
        <input id="blur" size="2" value="0" step=".1"  min="0" max="10" />
        <span class="icon_label">Blur</span>
      </label>
    </div>
    
    <label id="cornerRadiusLabel" data-title="Change Rectangle Corner Radius">
      <input id="rect_rx" size="3" value="0" data-attr="rx" class="attr_changer" type="text" pattern="[0-9]*" />
      <span class="icon_label">Roundness</span>
    </label>
    
    <div class="clearfix"></div>
    <div id="align_tools">
      <h4>Align</h4>
      <div class="toolset align_buttons" id="tool_position">
          <label>
            <div class="col last clear" id="position_opts">
              <div class="draginput_cell" id="tool_posleft" title="Align Left"></div>
              <div class="draginput_cell" id="tool_poscenter" title="Align Center"></div>
              <div class="draginput_cell" id="tool_posright" title="Align Right"></div>
              <div class="draginput_cell" id="tool_postop" title="Align Top"></div>
              <div class="draginput_cell" id="tool_posmiddle" title="Align Middle"></div>
              <div class="draginput_cell" id="tool_posbottom" title="Align Bottom"></div>
            </div>
          </label>
      </div>    
    </div>
  </div>
  
  <!-- Buttons when multiple elements are selected -->
  <div id="multiselected_panel" class="context_panel clearfix">
    <h4 class="hidable">Multiple Elements</h4>
    
    <div class="toolset align_buttons" style="position: relative">
      <label id="tool_align_relative" style="margin-top: 10px;"> 
        <select id="align_relative_to" title="Align relative to ...">
        <option id="selected_objects" value="selected">Align to objects</option>
        <option id="page" value="page">Align to page</option>
        </select>
      </label>
      <h4>.</h4>
        <div class="col last clear">
          <div class="draginput_cell" id="tool_alignleft" title="Align Left"></div>
          <div class="draginput_cell" id="tool_aligncenter" title="Align Center"></div>
          <div class="draginput_cell" id="tool_alignright" title="Align Right"></div>
          <div class="draginput_cell" id="tool_aligntop" title="Align Top"></div>
          <div class="draginput_cell" id="tool_alignmiddle" title="Align Middle"></div>
          <div class="draginput_cell" id="tool_alignbottom" title="Align Bottom"></div>
        </div>
    </div>
    <div class="clearfix"></div>

  </div>
  
  <div id="stroke_panel" class="context_panel clearfix">
    <div class="clearfix"></div>
    <h4>Stroke</h4>
    <div class="toolset" data-title="Change stroke">
      <label>
        <input id="stroke_width" size="2" value="5" data-attr="stroke-width" min="0" max="99" step="1" />
        <span class="icon_label">Stroke Width</span>
      </label>
    </div>
    <div class="stroke_tool draginput"> 
      <span>Stroke Dash</span>
      <select id="stroke_style" data-title="Change stroke dash style">
        <option selected="selected" value="none">—</option>
        <option value="2,2">···</option>
        <option value="5,5">- -</option>
        <option value="5,2,2,2">-·-</option>
        <option value="5,2,2,2,2,2">-··-</option>
      </select>
      <div class="caret"></div>
      <label id="stroke_style_label">—</label>
    </div>
    
    <label style="display: none;">
      <span class="icon_label">Stroke Join</span>
    </label>
    
    <label  style="display: none;">
      <span class="icon_label">Stroke Cap</span>
    </label>
  </div>

</div> <!-- tools_top -->
  <div id="cur_context_panel">
    
  </div>


<div id="tools_left" class="tools_panel">
  <div class="tool_button" id="tool_select" title="Select Tool [V]"></div>
  <div class="tool_button" id="tool_fhpath" title="Pencil Tool [P]"></div>
  <div class="tool_button" id="tool_line" title="Line Tool [L]"></div>
  <div class="tool_button" id="tool_rect" title="Square/Rect Tool [R]"></div>
  <div class="tool_button" id="tool_ellipse" title="Ellipse/Circle Tool [C]"></div>
  <div class="tool_button" id="tool_path" title="Path Tool [P]"></div>
  <div class="tool_button" id="tool_text" title="Text Tool [T]"></div>
  <div class="tool_button" id="tool_zoom" title="Zoom Tool [Z]"></div>
  
  <div id="color_tools">
        <div id="tool_switch" title="Switch stroke and fill colors [X]"></div>
        <div class="color_tool active" id="tool_fill">
          <label class="icon_label" title="Change fill color"></label>
          <div class="color_block">
            <div id="fill_bg"></div>
            <div id="fill_color" class="color_block"></div>
          </div>
        </div>

        <div class="color_tool" id="tool_stroke">
            <label class="icon_label" title="Change stroke color"></label>
          <div class="color_block">
            <div id="stroke_bg"></div>
            <div id="stroke_color" class="color_block" title="Change stroke color"></div>
          </div>
        </div>
  </div>
</div> <!-- tools_left -->
<div id="tolls_bar_left">
	<ul>
		<li class="active">
			<img src="images/custom-menu-bar/template.svg">
			<span>템플릿</span>
		</li>
		<li>
			<img src="images/custom-menu-bar/text.svg">
			<span>글</span>
		</li>
	</ul>
</div>
<div id="template">
	<div class="search">
		<input class="keyword"  placeholder="">
		<button class="submit"><i class="fa fa-search"></i></button>
	</div>
	<ul>
	</ul>
	<div class="template_footer">
		<span id="loadmore_template">더보기</span>
	</div>
</div>




<!-- hidden divs -->
<div id="color_picker"></div>

</div> <!-- svg_editor -->

<div id="svg_source_editor" >
  <div id="svg_source_overlay"></div>
  <div id="svg_source_container">
    <div id="save_output_btns">
      <p id="copy_save_note">Copy the contents of this box into a text editor, then save the file with a .svg extension.</p>
      <button id="copy_save_done">Done</button>
    </div>
    <form>
      <textarea id="svg_source_textarea" spellcheck="false"></textarea>
    </form>
    <div id="tool_source_back" class="toolbar_button">
      <button id="tool_source_cancel" class="cancel">Cancel</button>
      <button id="tool_source_save" class="ok">Apply Changes</button>
    </div>
  </div>
</div>

<div id="base_unit_container">
  <select id="base_unit">
    <option value="px">Pixels</option>
    <option value="cm">Centimeters</option>
    <option value="mm">Millimeters</option>
    <option value="in">Inches</option>
    <option value="pt">Points</option>
    <option value="pc">Picas</option>
    <option value="em">Ems</option>
    <option value="ex">Exs</option>
  </select>
</div>

<div id="dialog_box">
  <div id="dialog_box_overlay"></div>
  <div id="dialog_container">
    <div id="dialog_content"></div>
    <div id="dialog_buttons"></div>
  </div>
</div>

<ul id="cmenu_canvas" class="contextMenu">
  <li><a href="#cut">Cut <span class="shortcut">⌘X;</span></a></li>
  <li><a href="#copy">Copy<span class="shortcut">⌘C</span></a></li>
  <li><a href="#paste">Paste<span class="shortcut">⌘V</span></a></li>
  <li class="separator"><a href="#delete">Delete<span class="shortcut">⌫</span></a></li>
  <li class="separator"><a href="#group">Group<span class="shortcut">⌘G</span></a></li>
  <li><a href="#ungroup">Ungroup<span class="shortcut">⌘⇧G</span></a></li>
  <li class="separator"><a href="#move_front">Bring to Front<span class="shortcut">⌘⇧↑</span></a></li>
  <li><a href="#move_up">Bring Forward<span class="shortcut">⌘↑</span></a></li>
  <li><a href="#move_down">Send Backward<span class="shortcut">⌘↓</span></a></li>
  <li><a href="#move_back">Send to Back<span class="shortcut">⌘⇧↓</span></a></li>
</ul>






<div id="template_page">
	<div class="page_title">
		페이지
	</div>
	<ul>
		
	</ul>
</div>
</body>


</html>
